﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CeremonyBackground.ViewModel
{
    public class SyncPrizeResult
    {
        /// <summary>
        /// 授权码
        /// </summary>
        public string AuthorizationCode { get; set; }
        /// <summary>
        /// 奖项Id
        /// </summary>
        public int PrizeId { get; set; }
        /// <summary>
        /// 博饼结果
        /// </summary>
        public string PrizeResult { get; set; }
        /// <summary>
        /// 中奖时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        public SyncPrizeResult() { }
        public SyncPrizeResult(string authorizationCode, int prizeId, string prizeResult)
        {
            this.AuthorizationCode = authorizationCode;
            this.PrizeId = prizeId;
            this.PrizeResult = prizeResult;
            this.CreateTime = DateTime.Now;
        }
    }
}
